<script>
	export default {
		onLaunch: function() {
			console.log('App onLaunch')
			uni.getUserInfo({
				success: function(res) {
					var userInfo = res.userInfo
					console.log('userInfo',userInfo)
				},
				fail:function(){
					uni.showModal({
						title: '系统提示',
						content: '您尚未授权或授权已过期，部分功能将受限，点击确定将进行授权',
						success: function (res) {
			
						}
					})
				}
			})
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
	/*@import 'static/css/icon.css';*/
</style>
